package cn.lefull.customer.fegin.hystrix;

import cn.lefull.customer.fegin.HelloRemote;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @Auther: qijiang
 * @Date: 2018/10/16 17:44
 * @Description:
 */
@Component
public class HelloRemoteHystrix implements HelloRemote {

    @Override
    public String hello(@RequestParam(value = "name") String name) {
        return "hello" +name+", this messge send failed ";
    }
}
